//
//  EWEAudio.h
//  Auscultation
//
//  Created by 来 on 2020/12/11.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface EWEAudio : NSObject
/**
 *  转换pcm到wav
 *
 *  @param pcmPath  pcm文件路径
 *  @param isDelete 转换成功后是否删除源文件
 *
 *  @return NO 失败 YES成功
 */
+ (BOOL)pcm2Wav:(NSString *)pcmPath outPath:(NSString *)outPath isDeleteSourchFile:(BOOL)isDelete;
@end

NS_ASSUME_NONNULL_END
